<template>
  <div>
    <el-form-item :label="prop.name" :prop="formItemProp ? formItemProp : prop.id" :rules="rules" v-show="showComponent">
      <template slot="label">
        <rva-form-config :prop="prop"></rva-form-config>
      </template>
      <el-select :placeholder="'请选择' + prop.name" :multiple="this.prop.formSelectorSingle == 'N'" :value="value"
                 @input="$emit('input', $event)" style="width: 100%" :disabled="disabled || prop.formReadonly == 'Y'">
        <el-option v-for="dict in dictData" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue"></el-option>
      </el-select>
    </el-form-item>
  </div>
</template>

<script>
import formInput from "@/api/rva/form-input";

export default {
  mixins: [formInput],
}
</script>
